package test.ttry;

import org.junit.Test;

import y_ut.dbtools.imp.DBDataImport;
import y_ut.dbtools.imp.ExpCsvZipReader;

public class Import {

	@Test
	public void import01(){
		ExpCsvZipReader eczr = new ExpCsvZipReader("C:\\Users\\youxz\\Desktop\\tttt.zip");
		
		//DBDataImport imp = new DBDataImport("oracle.jdbc.driver.OracleDriver", "jdbc:oracle:thin:@127.0.0.1:1521:WEBOFFICEDB", "weboffice", "123456");
		DBDataImport imp = new DBDataImport("oracle.jdbc.driver.OracleDriver", "jdbc:oracle:thin:@127.0.0.1:1521:BTOSDB", "btos", "123456");
		imp.Import(eczr);
	}
}
